package com.zhuang.chapter17.work03;

public class PhoneClient {

	public static void main(String[] args) {
		Phone p1 = new Phone();
		p1.setBrand("苹果");
		p1.setType("iphoneX");
		p1.setOs("ios");
		p1.setPrice(2000);
		p1.setMemory(16);
		
		p1.about();
		p1.call("123456");
		p1.playGame();
		p1.downloadMusic("晴天");
		p1.playMusic("轨迹");
		System.err.println("--------------------------");
		Phone p2 = new Phone("华为", "华为荣耀20", "Android", 6666, 16);
		p2.about();
		p2.call("123456999999999999");
		p2.playGame();
		p2.downloadMusic("开不了口");
		p2.playMusic("七里香");
	}

}
